package com.jumi.microservice.constant;

/**
 * 商品状态
 *
 * @author Administrator
 */
public enum GoodsStatus {

    /**
     * 商品状态
     */
    UNKNOWN(0, "未知"),
    PUTTED_ON_SHELVES(1, "上架"),
    PULLED_OFF_SHELVES(2, "下架"),
    FIX_PUTTED_ON_SHELVES(3, "定时上架");

    private Integer code;
    private String desc;

    GoodsStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
